package com.example.d15_homework.homework02;

public class Cat extends Animal {
    public Cat(String name, String color, double price) {
        super(name, color, price);
    }

    public void catchMouse() {
        System.out.println("小猫" + getName() + "正在抓老鼠");
    }
}
